package com.heima.api.wemedia;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.media.pojos.WmUser;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "自媒体用户",value = "自媒体用户",description = "自媒体用户管理类")
public interface WmUserControllerApi {
    @ApiOperation("保存自媒体用户信息")
    ResponseResult save(WmUser wmUser);
    @ApiOperation("根据名称查询用户信息")
    WmUser findByName(String name);
    @ApiOperation("根据ID查询自媒体用户")
    WmUser findWmUserById(Long id);
}
